package com.hangxiang.approval.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * (RoleMenu)实体类
 *
 * @author makejava
 * @since 2020-11-26 14:01:41
 */
@Data
public class RoleMenu implements Serializable {
    private static final long serialVersionUID = -21366216906359483L;
    @TableId(value="id", type= IdType.AUTO)
    private Integer id;
    private Integer roleId;
    /**
     * 一级菜单id
     */
    private Integer firstId;
    /**
     * 二级菜单id
     */
    private Integer secondId;
    /**
     * 一级菜单名称
     */
    private String firstName;
    /**
     * 二级菜单名称
     */
    private String secondName;

    @ApiModelProperty("菜单类型")
    private Integer menuType;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 更新时间
     */
    private Date updateTime;
    private Integer isDeleted;


}